package structure.facade;

/**
 * @author dali
 * @date 2021-07-19 19:55
 * @Description
 */

public class Client {
    public static void main(String[] args) {
        //外观模式
        new Facade().open();
        new Facade().close();
        //传统方式
        new BedRoom().open();
        new Kitchen().open();
        new LivingRoom().open();
        new BedRoom().close();
        new Kitchen().close();
        new LivingRoom().close();
    }
}
